export interface ResponseData{
    "code": number,
    "message": string,
    "ok": boolean
}

export interface HospitalData{
    "id": string,
    "createTime": string,
    "updateTime": string,
    "isDeleted": number,
    "param": {
        "hostypeString": string,
        "fullAddress": string
    },
    "hoscode": string,
    "hosname": string,
    "hostype": string,
    "provinceCode": string,
    "cityCode": string,
    "districtCode": string,
    "address": string,
    "logoData": string,
    "intro": string,
    "route": string,
    "status": number,
    "bookingRule": {
        "cycle": number,
        "releaseTime": string,
        "stopTime": string,
        "quitDay": number,
        "quitTime": string,
        "rule": [
            string
        ]
    }
}

export type Content = HospitalData[]

export interface HospitalResponseData extends ResponseData{
    "data":{
        "content":Content,
        "pageable":{
            "sort":{
                "sorted":boolean,
                "unsorted":boolean,
                "empty":boolean
            },
            "pageNumber":number,
            "pageSize":number,
            "offset":number,
            "paged":boolean,
            "unpaged":boolean
        },
        "last":boolean,
        "totalPages":number,
        "totalElements":number,
        "first":boolean,
        "sort":{
            "sorted":boolean,
            "unsorted":boolean,
            "empty":boolean
        },
        "numberOfElements":number,
        "size":number,
        "number":number,
        "empty":boolean
    }
}

export interface HospitalDetailInfo{
    "id": string,
    "createTime": string,
    "updateTime": string,
    "isDeleted": number,
    "param": {},
    "hoscode": string,
    "hosname": string,
    "hostype": string,
    "provinceCode": string,
    "cityCode": string,
    "districtCode": string,
    "address": string,
    "logoData": string,
    "intro": string,
    "route": string,
    "status": number,
    "bookingRule": {
        "cycle": number,
        "releaseTime": string,
        "stopTime": string,
        "quitDay": number,
        "quitTime": string,
        "rule": string[]
    }
}

export type data = HospitalDetailInfo[]

export interface HospitalDetailInfoResponseData extends ResponseData{
    "data":data
}